package com.jxb.myshop.dao;

import com.jxb.myshop.entity.Orders;
import com.jxb.myshop.entity.vo.OrderVo;

import java.sql.SQLException;
import java.util.List;

public interface OrderDao {
    int createOrder(Orders order) throws SQLException;

    List<OrderVo> getAllOrders(int uid) throws SQLException;

    OrderVo getOrderAndAddress(String oid) throws SQLException;

    int changeStatus(String out_trade_no, int isSend) throws SQLException;

    int changeStatus(String oid) throws SQLException;
}
